﻿using System;
using System.Net;
using System.Windows;
using System.Collections.Generic;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace G.Animation
{
    public abstract class BaseAnimation
    {
        public IEnumerable<FrameworkElement> ElementList { get; set; }
        public BaseAnimation(IEnumerable<FrameworkElement> elementList)
        {
            this.ElementList = elementList;
        }


        public  void Reset()
        {
            foreach (var item in this.ElementList)
            {
                item.Opacity = 1;
                item.Projection = null;
                item.RenderTransform = null;
            }
        }

    }
}
